
<link href="<{$res_url}>/css/wap/public.css" rel="stylesheet" type="text/css">
<link href="<{$res_url}>/css/wap/home.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<{$res_url}>/js/wap/jquery.min.js"></script>

</head>
<body style=' background:#f8f9fa; position:relative; width:100%; height:100%; overflow:hidden;'>
    <section class="warp" style='padding-bottom:60px;'>
        <form action='amember-opinions_sub.html' method='post'>
    	<div class="content">
<!--            <header>
            	<div class="search fl"><img src="<{$res_url}>/images/wap/icon1.png" width="20"></div>
                <div class="logo">标签</div>
            </header>-->
			
			<div class="recom_language">
                <div class="recom_language_hd">
                	<dl>
                    	<dt style='position:relative'>
                        <{foreach from=$tag item=t}>

                        <div class="tag_box <{if $t.image_type=='2'}>t_right<{/if}>" id="moveid" style='top:<{$t.x}>%;left:<{$t.y}>%;  position: absolute;'>
                            <img src="<{$res_url}>/images/wap/icon28.png" class="dot">
                            <span>
                                <{$t.image_tag}>
                                <em class="s_right"></em>
                            </span>
                        </div>
                        <{/foreach}>
                        <img src="<{$res_url}>/images/wap/pic7.jpg" width="100%">
                        </dt>
                        <dd>
                        	<em><img src="<{$res_url}>/images/wap/icon29.png"></em>
                        	<i id="testtest">140</i>
                            <textarea id="test" cols="" rows="" name='content' placeholder="使用后的感受如何呢？" maxlength="140"></textarea>
                        </dd>
                    </dl>
                </div>
                <div class="recom_language_bd">
                	<ul class="clearfix">
                    	<li><a href="#"><i class="sina"></i>新浪微博</a></li>
                        <li><a href="#"><i class="wechat"></i>微信朋友圈</a></li>
                    </ul>
                </div>
                <script type="text/javascript">
                	$(document).ready(function() {
                        $(".recom_language_bd ul li").click(function(){
								$(this).addClass("active")
							})
                    });
					
					$(function(){ 
						document.getElementById("test").onpropertychange =document.getElementById("test").onkeyup= function(){   
							var lenE = this.value.length;  
							var tno = document.getElementById("testtest");
							tno.innerHTML = 140  - lenE ;
							if (tno.innerHTML < 0) {   
								var tmp = 0 ;
								var cut = this.value.substring(0, 140);
								for (var i=0; i<cut.length; i++){     
								tmp += /[\u4E00-\u9FA5\uF900-\uFA2D]/.test(cut.charAt(i)) ? 2 : 1;  
								if (tmp > 140) break;   
							}        
							this.value = cut.substring(0, 140);
						  }    
					  }
					})
                </script>
                <div class="the_next" style='position:fixed;'><a href="javascript:$('form').submit();">发布</a></div>
            </div>
            
        </div>
        </form>
    </section>
</body>
</html>